package com.ruoyi.project.module.userinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 用户表 userinfo
 * 
 * @author ruoyi
 * @date 2018-11-11
 */
public class Userinfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 用户id */
	private Integer id;
	/** 用户名称 */
	private String userName;
	/** 用户账号 */
	private String userCode;
	/** 用户密码 */
	private String userPass;
	/** 用户角色(1.电影厂商2.用户) */
	private Integer userRole;
	/** 用户邮箱 */
	private String userEamil;
	/** 用户地址 */
	private String userAddress;
	/** 创建时间 */
	private Date createTime;
	/** 状态(1.正常2.停用) */
	private Integer userStues;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setUserCode(String userCode) 
	{
		this.userCode = userCode;
	}

	public String getUserCode() 
	{
		return userCode;
	}
	public void setUserPass(String userPass) 
	{
		this.userPass = userPass;
	}

	public String getUserPass() 
	{
		return userPass;
	}
	public void setUserRole(Integer userRole) 
	{
		this.userRole = userRole;
	}

	public Integer getUserRole() 
	{
		return userRole;
	}
	public void setUserEamil(String userEamil) 
	{
		this.userEamil = userEamil;
	}

	public String getUserEamil() 
	{
		return userEamil;
	}
	public void setUserAddress(String userAddress) 
	{
		this.userAddress = userAddress;
	}

	public String getUserAddress() 
	{
		return userAddress;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUserStues(Integer userStues) 
	{
		this.userStues = userStues;
	}

	public Integer getUserStues() 
	{
		return userStues;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("userCode", getUserCode())
            .append("userPass", getUserPass())
            .append("userRole", getUserRole())
            .append("userEamil", getUserEamil())
            .append("userAddress", getUserAddress())
            .append("createTime", getCreateTime())
            .append("userStues", getUserStues())
            .toString();
    }
}
